Class: com.microstrategy.web.app.taglibs.PerformanceTimerTag
Usage:
This custom tag is designed to be used together with the {@link LoggingTag} and {@link PerformanceStringTag}. It takes care of generating the required JavaScript code for being able to measure up the time a page takes for being rendered.<html> <web:performanceTimer action="initialize"/> <web:performanceTimer action="start"/> <body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="<web:performanceString/>"> ... <script> <web:logging action="logTimes"/> </script> ... </body> </html>
Name | Required? | Description |
action | true | Indicates the action to be peformed by this tag, which indicates the type of JavaScript code that it
will generate. Usage: The possible values of this attribute include: |
logResults | false | Indicates if the results should be logged at this time or not. Usage: This attribute should be specified as a boolean . If the value is True
it means all the information from the timers that were stopped and recorded will be
organized on a message, html page report of file, as indicated by the user on the
application's configuration file. |
pageId | false | Indicates the identifier for the page to be analyzed. Usage: The log results obtained will make reference to this identifier, for it to be possible to collect multiple pages analyzed multiple times. |